﻿using System;

namespace SmartFront.Toolkit.ActionFramework
{
    /// <summary>
    /// Interface which registered objects can implement to be automatically unregistered from the
    /// <see cref="PresenterBase"/>'s pending items once they have completed.
    /// </summary>
    public interface IPendingItem
    {
        /// <summary>
        /// Occurs when the pending item is ready to be unregistered.
        /// </summary>
        event EventHandler Unregister;
    }
}